package com.book.test;

import com.book.entity.Account;
import com.book.mapper.MenuMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

/**
 * @author SuperYu  2024/8/8
 */
@SpringBootTest
public class SystemApplicationTestMapper {

    @Autowired
    MenuMapper mapper;

    @Test
    public void testRedisString(){
        List<String> set = mapper.selectPermissionByUserName("jack");

        for (String s : set) {
            System.out.println(s);
        }

    }

}
